home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news.mathworks.com!gatech!psinntp!psinntp!psinntp!psinntp!ensco!news
- From: Matt McGarvey <mcgarvey@ensco.com>
- Subject: MFC C++: OnIdle() is OnHold during Modal Dialog
- X-Nntp-Posting-Host: signalboy.hq.ensco.com
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <DLt4Jo.D2t@boole.FL.ENSCO.COM>
- Sender: news@boole.FL.ENSCO.COM
- Content-Transfer-Encoding: 7bit
- Organization: ENSCO INC
- Mime-Version: 1.0
- Date: Fri, 26 Jan 1996 21:18:59 GMT
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
- I need to do constant backgroung processing in an MFC Visual C++
- MS Windows application at all times.
-
- I overrode the CWinApp classes OnIdle function to do background
- processing there.
-
- It works fine except when a Modal Dialog is popped up.
- OnIdle is never called during such a time, when I need it to be.
-
- (only tested this using the debugger. Just beginning to write
- MS Windows apps and I don't know of an easy way to create a simple
- text debug window).
-
- What is the best way to over-ride this behavoir without
- hacking away at the MFC source.
-
- Thanks,
- Matt
-
-
-
-